class Person {
  constructor(
    public name: string,
    private _age: number,
    readonly height: string
  ) {
    this._age = _age;
    this.name = name;
    this.height = height;
  }

  get age() {
    return this._age;
  }

  set age(newValue: number) {
    if (newValue >= 0 && newValue <= newValue) {
      this._age = newValue;
    }
  }
}

const p: Person = new Person("zs", 12, "1.88");

export {};
